import {ajax } from '../utils/request'

//定义详情页接口

export function getDetailApi({id}){
  return ajax({
     url:'/news/'+id
  })

}